package s47.dqj.dao;

import java.util.List;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;

import s47.dqj.bean.DepartmentPositionCost;

public interface DepartmentPositionCostDaoInf {

	@Resource(name = "sessionFactory")
	public abstract void setSupperSessionFactory(SessionFactory sessionFactory);

	/**
	 * 新增一种新挂号费用表
	 * @param departmentPositionCost
	 */
	public abstract void save(DepartmentPositionCost departmentPositionCost);

	/**
	 * 修改挂号费用表
	 * @param departmentPositionCost
	 */
	public abstract void update(DepartmentPositionCost departmentPositionCost);

	/**
	 * 查看全部挂号费用表
	 * @return
	 */
	public abstract List<DepartmentPositionCost> findAll();

}